MailPoet\Newsletter\NewsletterSaveController A

Total Complexity 74
Dependencies 32
Dependents 4
Total lines 466
Lines of code 319
Logical lines of code 197
Comment lines 41
Methods 13
Properties 17

Methods 13

Method Rating Maintainability Complexity Lines of code
duplicate()
A
38 12 66
save()
A
46 12 37
updateNewsletter()
A
49 11 32
updateSegments()
A
50 9 30
updateQueue()
S
52 7 24
rescheduleIfNeeded()
S
55 6 19
updateOptions()
S
54 5 21
createNewsletter()
S
56 3 18
getNewsletter()
S
64 3 10
ensureWpPost()
S
59 2 14
getEmailDefaultContent()
S
56 1 22
__construct()
S
55 1 19
sanitizeAutomationEmailData()
S
69 2 7